package com.itheima.system.dao;

import com.itheima.aom.pojo.AomUser;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@Repository
public interface UserDao extends Mapper<AomUser> {
@Select("select * from t_aom_user where username = #{username}")
   AomUser  findByUserNameAndPssword(AomUser user);
}
